package com.opc.Common;


/**
 * 报文常量
 */
public class TransmittersMessage {
    //测试命令，用于测试连接
    public static final String Test_Command="00209999            "+'\0';
    //
    public static final String Test_Command1="00200043            "+'\0';

    // 开始通讯，将开始响应任何命令
    public static final String Start_Communication="00200001003         "+'\0';
    //持续心跳
    public static final String Heartbeat="00209999            "+'\0';
    //心跳回复
    public static final String HeartbeatRepay="00209999001";
    //选择程序号(pset)
    public static final String Select_Program_Number="00230018            00";

//    public static final String Select_Program_Number1="00230018            001"+'\0';
//    public static final String Select_Program_Number2="00230018            002"+'\0';
    //扭矩和角度订阅
    public static final String Subscribe_Torque_And_Angle1="00200060001         "+'\0';
    public static final String Subscribe_Torque_And_Angle2="00200060002         "+'\0';
    public static final String Subscribe_Torque_And_Angle3="00200060003         "+'\0';
    public static final String Subscribe_Torque_And_Angle4="00200060004         "+'\0';
//    //扭矩和角度订阅
    public static final String Subscribe_Torque_And_Angle="00200060001         "+'\0';
    //收到结果包(维持订阅不断)
    public static final String Receive_Result="00200062001         "+'\0';

    // 结束通讯，将停止响应任何命令
    public static final String Stop_Communication="00200003003         "+'\0';
    //消息订阅
    public static final String Subscribe_Message="006800080020        0900001390                             020010020"+'\0';
    //工具配对
    public static final String Pair_Tool="00220047003       0102"+'\0';
    //获取工具数据                              00220040           012--00220040            01
    public static final String Get_Tool_Data="00220040           012"+'\0';
    //启用工具                                 00220043           012--00240043            0101
//    public static final String Enable_Tool="00220043           012"+'\0';
    //订阅紧固结果
    public static final String Subscribe_Fix_Result="00220060           001"+'\0';
    //订阅最后紧固结果
    public static final String Subscribe_Last_Fix_Result="00260060                01"+'\0';
    //设置主工具
    public static final String Set_Main_Tool="00220046          0101"+'\0';
    //获取参数集
    public static final String Get_Parameter_Set="00230010            001"+'\0';
    //设置工具校准值
    public static final String Set_Tool_Calibration_Value="00310045            01102003550"+'\0';
}
